﻿#ifndef CDISPLAYINFO_H
#define CDISPLAYINFO_H
#include <vector>
#include <QString>
#include <QRect>
#include <QRect>

namespace  ss {

// display info struct
struct Display
{
    QString name;
    QString manufacturer;
    QString model;
    QString serialNumber;
    QRect   geometry;
    QSize   size;
    Display(QString n = "", QString manu = "", QString m = "", QString serial = "",
            QRect geo = QRect(), QSize s = QSize()) :
        name(n), manufacturer(manu), model(m), serialNumber(serial), geometry(geo), size(s){}

};

class CDisplayInfo
{
public:
    CDisplayInfo();
    void ReadDisplayInfo();
    const std::vector<Display>& GetDisplays() const;

private:
    std::vector<Display> m_vecDisplays;
};

}


#endif // CDISPLAYINFO_H
